home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
game
/
patch
/
LSL-fix.lha
/
LSL-fix
/
LSL-fix.doc
< prev
next >
Wrap
Text File
|
1999-01-24
|
10KB
|
232 lines
The following Doc and the included mouse pointer are part of the
King`s-Quest-Fix package from Timo Kaikumaa!
I used and changed it with his kindly permission! THANKS AGAIN, Timo!
L E I S U R E S U I T L A R R Y 1 F I X V 1.1
""""""""""""""""""""""""""""""""""""""""""""""""""
Included fixes
A patch to remove protection and fix the closing screen problem on OS2+.
A better looking(?) mouse pointers for the game.
Information about changing the game palette.
Introduction
In their very first Amiga adventures made during the years 1986 and 1987
Sierra used a somewhat nasty copy protection method. The game disk looked
like a standard AmigaDos disk, but on it there was one file (whose name
simply consisted of 8 spaces) with a deliberate read/write error. One
couldn't execute the game unless the broken file was available. Although
this was no problem when playing from the original disk, the unlucky user
of more recent days will not be able to install the game on hard disk at
all.
But the fix is here. This patch will modify the game executable and remove
all references to the protected file thus allowing the user to copy all
game files wherever he or she wants to. Currently only one version of
Leisure Suit Larry 1 is supported, namely one from the year 1987. Also
the irritating problem that the game is not able to close its screen upon
quitting when using OS 2.04 or newer is corrected.
Note that this fix is only for the original Leisure Suit Larry 1.
How to proceed
As you may have already noticed, I haven't included a standard Amiga
Installer script or actually any installation scripts at all. This is
because it would be too easy to destroy your original game disk with
incorrect use of a ready-to-use script (people do not usually read
documents unless they have to, and so they might try this patch on their
original disk). It is also because I'm lazy.
In the following, you have to type in various commands. Do not type
the « and » characters around commands. They are just separating the
commands and some indicated file names from the rest of this text.
In order to install the game the following steps need to be made:
· First, make sure the original disk is write-protected.
· Now, make a copy of the original disk. Don't worry if you tried to run
the game from the duplicated disk - it won't work yet. You can use any
copier you want. The only requirement is that the disk is processed
track-by-track basis. For example, Workbench DiskCopy, XCopy, SuperDuper
or even DMS will do fine.
Actually you could also work with the original disk as well, but this is
strongly discouraged. If something goes wrong during the following steps,
you might cause a permanent damage on your original game disk! By using
the copy of the original disk, all you are able to destroy is just the
copy.
· Put the original disk in a safe place. It is not needed anymore.
· Insert the duplicated disk into any drive. Open a Shell (or CLI) and
change your current directory onto that drive (e.g. by typing «CD DF0:»
if you are using the internal drive DF0:)
· The game executable (file named «LSL») has a strange set of file
protection flags. They need to be changed first so that file could be
modified. Type «Protect LSL +rwed» to set the common protection flags.
You can also type «Protect LSL -hspa» to remove the non-common flags.
· Now you should be aware of the directory where the files coming along
with this document are resided. Let's say they are in a directory called
«RAM:LSL-fix/». In the likely case they are somewhere else, replace
references to this example directory with their actual location.
Type in the following command:
«RAM:LSL-fix/SPatch -oLSL -pRAM:LSL-fix/LSL.pch LSL».
This will make all necessary modifications to the game executable.
Note that the file is longer after this operation.
(Original: 91440 Bytes Patched: 100236 Bytes!)
· You can now delete the protected file (the one with the read/write error):
«Delete " "» (there are 8 spaces in the name).
· The patched version of the game supports separate image for the mouse
pointer in the so-called busy state (busy state takes place for example
when the game is loading data from disk and cannot respond to your
commands). The busy pointer image is stored in a file called «busy»,
and is copied into its place with command «Copy RAM:LSL-fix/busy Data/».
(Note also that all further comments about the actual mouse pointer
apply to the busy pointer as well.)
· If you would like to have a nicer-looking mouse pointer image in the game,
try this: «Copy RAM:LSL-fix/pointer Data/». Otherwise ignore this step.
See the option chapter below for further information on the subject.
· That's it. You can now install the game wherever you want to by just
copying all the files from the disk to your favourite location. Note that
although the game originally won't run unless a volume called «LSL:»
is present, such restriction no longer exist. Wish you relabel the game
disk you are free to do so.
Assuming you have created a directory for the game called «SYS:games/LSL/»
you can copy the files for example by typing «Copy "" SYS:games/LSL/ ALL».
Options
There are two things in here: palette and the mouse pointer of the game.
First, let's talk about the pointer. In my opinion the mouse pointer of
the first generation of Sierra adventures looks pretty ugly. The image
of the pointer is stored in a file called «pointer» located in «Data»
subdirectory in respect to the main directory (installed games) or root
directory of the disk (non-installed games). This file is 80 bytes long
and contains the binary representation of the pointer sprite in hexadecimal
format. The user of a hex editor can easily figure out how this file is
organized by testing different patterns in here (the file has nothing extra
in it, just the raw pointer data). The pointer included in this software
archive is something that suits my taste, but nothing more. Feel free to
create even better looking pointer, if you think that my version is an
ugly one too!
Another thing to discuss are the colors used in old Sierra adventures.
Actually, in all versions of Leisure Suit Larry 1 I have seen the colors
are quite ok, but in some other Sierra games of that age they are not.
For instance the skin color might be just too reddish. To make things
complete, I'll also describe how colors can be altered. To begin with,
here are the palette informations from various Sierra 16-color adventures.
The color scheme used in 1987 version of King's Quest 1:
000, 00F, 080, 0DB, C00, B7D, 850, BBB,
777, 0BF, 0E0, 0FD, F98, F70, EE0, FFF.
The palette used in 1989 King's Quest 3:
000, 00B, 0B0, 0BB, B00, B0B, C70, BBB,
777, 00F, 0F0, 0FF, F00, F0F, FF0, FFF.
Finally, a palette from more modern Sierra games (this one is taken
from King's Quest 4):
000, 008, 080, 088, 800, 808, 830, 888,
555, 44F, 0F0, 0FF, F44, F0F, FF0, FFF.
TIP: Use the KQ4 Palette for your Games and change the Value F44
(2nd Line, 4th from behind!) to F98. You get strong Colors
and a beautiful Skin Color! ;-)
All the above information was taken by using the «Palette» tool included
in the good old OS1.3. The program opens up a palette requester on the
frontmost screen, even if this happens to be a screen owned by a Sierra
game. To make that work, you need to have e.g. the icon for Palette
available in the top portion of the Workbench. Now, when the game is
running, pull its screen downwards enough to make the Palette icon
visible. Then double-click the icon to start the Palette program. It
should show up on the game screen. This allows you to play with the
colors and even use the altered palette as long as the game is running.
But the palette information still needs to be saved in the game
executable.
Again, a hex editor comes handy. The file to be edited is the main
executable, the same file that has already been patched. In this point
it might be a good idea to tell how the above information is present in
the file.
All color components are stored as a separate words in successive
locations. For instance the colors of the 1987 version of the game form
the following hexadecimal string (the spaces and commas are only used
to make this readable, in reality they naturally don't exist):
0000 0000 0000, 0000 0000 000F, 0000 0008 0000, 0000 000D 000B,
000C 0000 0000, 000B 0007 000D, 0008 0005 0000, 000B 000B 000B,
0007 0007 0007, 0000 000B 000F, 0000 000E 0000, 0000 000F 000D,
000F 0009 0008, 000F 0007 0000, 000E 000E 0000, 000F 000F 000F.
To change this information, one first needs to find out the exact
position of these bytes. Some byte combinations (especially those
with all zeros) may exist also somewhere else in the file, therefore
it is suggested to search for the palette by using the bytes of light
grey color (000B000B000B) as a search key because such bytes are
unlikely to occur anywhere else.
Disclaimer
You are using this software at your own risk! Under no circumstances will the
author be liable for any direct on indirect damage or data loss resulting
from the use or misuse of these files or the documents.
Using the patch for anything but your personal needs (to spread unprotected
copies of the game, for instance) is illegal and strongly prohibited.
History
V1.1 - Removed obsolete hunks in new version of LSL! Makes the
executable smaller!
I know that's Sierra's job, but, hey, the patch isn't from
Sierra either! ;-)
V1.0 - First public release! Well, in fact it was stolen from Timo! :-)
Authors
Timo Kaikumaa
Atanväylä 14 C 12
33580 Tampere
FINLAND
E-mail: timok@cs.tut.fi
Home page: http://www.cs.tut.fi/~timok (currently in Finnish only)
Hubert Maier jun.
Grashof 5
83324 Ruhpolding
GERMANY
E-mail: Hubert_LH@TalkNet.de
Home page: Maybe in the Future! MAY BE! :-)